﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001097 RID: 4247
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueWorkbenchSelectFuncCsReq : IMessage<RogueWorkbenchSelectFuncCsReq>, IMessage, IEquatable<RogueWorkbenchSelectFuncCsReq>, IDeepCloneable<RogueWorkbenchSelectFuncCsReq>, IBufferMessage
	{
		// Token: 0x17003593 RID: 13715
		// (get) Token: 0x0600BDA3 RID: 48547 RVA: 0x001FF6B9 File Offset: 0x001FD8B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueWorkbenchSelectFuncCsReq> Parser
		{
			get
			{
				return RogueWorkbenchSelectFuncCsReq._parser;
			}
		}

		// Token: 0x17003594 RID: 13716
		// (get) Token: 0x0600BDA4 RID: 48548 RVA: 0x001FF6C0 File Offset: 0x001FD8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueWorkbenchSelectFuncCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003595 RID: 13717
		// (get) Token: 0x0600BDA5 RID: 48549 RVA: 0x001FF6D2 File Offset: 0x001FD8D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueWorkbenchSelectFuncCsReq.Descriptor;
			}
		}

		// Token: 0x0600BDA6 RID: 48550 RVA: 0x001FF6D9 File Offset: 0x001FD8D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueWorkbenchSelectFuncCsReq()
		{
		}

		// Token: 0x0600BDA7 RID: 48551 RVA: 0x001FF6E1 File Offset: 0x001FD8E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueWorkbenchSelectFuncCsReq(RogueWorkbenchSelectFuncCsReq other) : this()
		{
			this.workbenchFuncId_ = other.workbenchFuncId_;
			this.propEntityId_ = other.propEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BDA8 RID: 48552 RVA: 0x001FF712 File Offset: 0x001FD912
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueWorkbenchSelectFuncCsReq Clone()
		{
			return new RogueWorkbenchSelectFuncCsReq(this);
		}

		// Token: 0x17003596 RID: 13718
		// (get) Token: 0x0600BDA9 RID: 48553 RVA: 0x001FF71A File Offset: 0x001FD91A
		// (set) Token: 0x0600BDAA RID: 48554 RVA: 0x001FF722 File Offset: 0x001FD922
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint WorkbenchFuncId
		{
			get
			{
				return this.workbenchFuncId_;
			}
			set
			{
				this.workbenchFuncId_ = value;
			}
		}

		// Token: 0x17003597 RID: 13719
		// (get) Token: 0x0600BDAB RID: 48555 RVA: 0x001FF72B File Offset: 0x001FD92B
		// (set) Token: 0x0600BDAC RID: 48556 RVA: 0x001FF733 File Offset: 0x001FD933
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x0600BDAD RID: 48557 RVA: 0x001FF73C File Offset: 0x001FD93C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueWorkbenchSelectFuncCsReq);
		}

		// Token: 0x0600BDAE RID: 48558 RVA: 0x001FF74A File Offset: 0x001FD94A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueWorkbenchSelectFuncCsReq other)
		{
			return other != null && (other == this || (this.WorkbenchFuncId == other.WorkbenchFuncId && this.PropEntityId == other.PropEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BDAF RID: 48559 RVA: 0x001FF788 File Offset: 0x001FD988
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.WorkbenchFuncId != 0U)
			{
				num ^= this.WorkbenchFuncId.GetHashCode();
			}
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BDB0 RID: 48560 RVA: 0x001FF7E0 File Offset: 0x001FD9E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BDB1 RID: 48561 RVA: 0x001FF7E8 File Offset: 0x001FD9E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BDB2 RID: 48562 RVA: 0x001FF7F4 File Offset: 0x001FD9F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.WorkbenchFuncId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.WorkbenchFuncId);
			}
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BDB3 RID: 48563 RVA: 0x001FF850 File Offset: 0x001FDA50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.WorkbenchFuncId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.WorkbenchFuncId);
			}
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BDB4 RID: 48564 RVA: 0x001FF8A8 File Offset: 0x001FDAA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueWorkbenchSelectFuncCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.WorkbenchFuncId != 0U)
			{
				this.WorkbenchFuncId = other.WorkbenchFuncId;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BDB5 RID: 48565 RVA: 0x001FF8F8 File Offset: 0x001FDAF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BDB6 RID: 48566 RVA: 0x001FF904 File Offset: 0x001FDB04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PropEntityId = input.ReadUInt32();
					}
				}
				else
				{
					this.WorkbenchFuncId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004C54 RID: 19540
		private static readonly MessageParser<RogueWorkbenchSelectFuncCsReq> _parser = new MessageParser<RogueWorkbenchSelectFuncCsReq>(() => new RogueWorkbenchSelectFuncCsReq());

		// Token: 0x04004C55 RID: 19541
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C56 RID: 19542
		public const int WorkbenchFuncIdFieldNumber = 6;

		// Token: 0x04004C57 RID: 19543
		private uint workbenchFuncId_;

		// Token: 0x04004C58 RID: 19544
		public const int PropEntityIdFieldNumber = 15;

		// Token: 0x04004C59 RID: 19545
		private uint propEntityId_;
	}
}
